﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MS.InformationManagement.Presenter.Support;
using MS.InformationManagement.DAL.DocumentCenter;

namespace MS.InformationManagement.Presenter.DocumentsUploader
{
    public class DocumentsUploaderPresenter : BasePresenter<IDocumentsUploaderView>
    {

        #region Constructors

        public DocumentsUploaderPresenter(IDocumentsUploaderView view) : base(view) { }

        #endregion

        public void HandelSave()
        {
            new BLL.FilesUploader.FilesUploader().SaveDocumentsCurrentLibrary(View.SelectedFiles, View.ListID);
            View.Success();
        }
        
    }
}
